import {TestModel} from "./persistent";

export default class Handler {
    async helloWorld({name = 'jimmie'}) {

        return await TestModel.findOneAndUpdate(
            {name},
            {$set: {name}},
            {new: true, upsert: true}
        );
    }
}
